<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=<%= config.charset %>">
  <title><%= config.blog_title %></title>
  <meta http-equiv="content-style-type" content="text/css">
  <link rel="stylesheet" href="<%= config.theme_css %>" type="text/css">
  <link rel="alternate" type="application/rss+xml" title="RSS" href="<%= config.blog_url + config.rss_filename %>">
</head>

<body>

<div class="adminmenu">
  <span class="adminmenu"><a href="<%= config.blog_url %>">最新</a></span> /
  <span class="adminmenu"><a href="<%= config.blog_url + config.rss_filename %>">RSS</a></span>
</div>
<h1><a href="<%= config.blog_url %>"><%= config.blog_title %></a></h1>

<div id="container">

	<div id="main">
		<div class="day">
			<% items.each do |item| %>
			<h2><a href="<%= item.permalink %>"><span class="date"><%= item.title %></span></a></h2>
			<div class="body">
				<div class="section">
				<%= item.contents %>
				</div>
			</div>
			<% end %>
	  </div>
	</div>

	<div id="sidebar">
		<ul class="recent-list">
		<% items.each do |item| %>
		<li><a href="<%= item.permalink %>"><%= item.title %></a></li>
		<% end %>
		</ul>
	</div>

	<div id="footer">
		<br>
		<p>Generated by corno version <%= Corno::VERSION %></p>
	</div>
</div>

</body>
</html>

